// 全局颜色常量
abstract class AppColors {
  // 主题色
  static const APP_THEME = 0xff63ca6c;

  // appbar 标题颜色
  static const APPBAR = 0xffffffff;
}

// app信息
abstract class AppInfos {
  // 应用ID
  static const String CLIENT_ID = 'QGHQhKjelh1MEt3nI2wQ';

  // 应用密钥
  static const String CLIENT_SECRET = '4poOpS5tqtw4y7U9EjgyBYf0GmnfHBRo';

  // 回调地址
  static const String REDIRECT_URI = 'https://www.baidu.com';
}

// 接口地址
abstract class AppUrls {
  static const String HOST = 'https://www.oschina.net';

  //授权登录
  static const String OAUTH2_AUTHORIZE = HOST + '/action/oauth2/authorize';

  //获取token
  static const String OAUTH2_TOKEN = HOST + '/action/openapi/token';

  // 获取用户信息
  static const String OPENAPI_USER = HOST + '/action/openapi/user';
}
